package com.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.entity.Account;

import java.math.BigDecimal;

public interface IAccount extends IService<Account> {

    /**
     * 账户资金转出
     * @param accountId
     * @param amount
     */
    void transOut(int accountId, BigDecimal amount) throws Exception;
}
